import datetime


def transale_date(x):
    try:
        date = datetime.datetime.strptime(x, '%Y/%m/%d').date()
    except:
        date = None
    return date
